SG Window Window Object
FreezeEvents Method

©1998 by Stinga

Properties     Methods      Events     Constants     Error Codes
Description

Stops and enables message events.

Syntax

object.FreezeEvents(freeze As Boolean)

Part Description
object The object is expression that evaluates to Window object
freeze Required. Specifies whether events are to be fired or not. If this parameter is True, message events for enabled messages are fired and registered callback interfaces are called. If this parameter is False events are not fired and callback interfaces are not called.
Remarks

There is a difference between FreezeEvents method and Hooked property. Setting Hooked property to False disconnects Window object from the default Win32 window procedure (un-subclasses window). Setting FreezeEvents to False disables event firing but window still remains subclassed.